Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
entity ft3_reward
Link copied to clipboard
Link copied to clipboard
entity milestone
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
function check_previous_milestones_completed(community_quest: community_quest, target_milestone: milestone)
Link copied to clipboard
function claim_unclaimed_rewards(milestone: milestone, player: player, unclaimed: unclaimed_reward)
Link copied to clipboard
Link copied to clipboard
function handle_ft3_contribution(community_quest: community_quest, milestone: milestone, asset: text, amount: integer, auth_descriptor_id: byte_array, player_: player)
Link copied to clipboard
Link copied to clipboard
function handle_original_contribution(community_quest: community_quest, milestone: milestone, required_asset: required_original_asset, interface: text, original_id: byte_array?, amount: integer, player_: player)

Queries

Link copied to clipboard
@mount("community_quests.get_all_community_quests") query get_all_community_quests(): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_community_quest_configs") query get_community_quest_configs(): (enabled: boolean,)
Link copied to clipboard
@mount("community_quests.get_linked_quests_by_group_id") query get_linked_quests_by_group_id(group_id: text): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_ongoing_community_quests") query get_ongoing_community_quests(): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_participating_quests") query get_participating_quests(player: player): list<community_quest_info>
@mount("community_quests.get_participating_voting_quest_for_player") query get_participating_voting_quest_for_player(account_id: byte_array, group_id: text): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_players_with_unclaimed_rewards") query get_players_with_unclaimed_rewards(): list<(byte_array, text)>
Link copied to clipboard
@mount("community_quests.get_quests_info_by_id") query get_quests_info_by_id(quest_ids: list<text>): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_unclaimed_rewards") query get_unclaimed_rewards(account_id: byte_array): list<(quest_id: text, milestone_index: integer)>

Operations

Link copied to clipboard
@mount("community_quests.admin_claim_reward") operation admin_claim_reward(account_ids: list<byte_array>)
Link copied to clipboard
@mount("community_quests.claim_all_reward") operation claim_all_reward(quest_id: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.claim_reward_by_milestone") operation claim_reward_by_milestone(quest_id: text, milestone_index: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.delete_community_quest") operation delete_community_quest(community_quest_id: text)
Link copied to clipboard
@mount("community_quests.make_contribution") operation make_contribution(quest_id: text, milestone_index: integer, ft3_assets: list<ft3_contribution_info>, original_assets: list<original_contribution_info>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.register_community_quest") operation register_community_quest(name: text, group_id: text, milestones: list<milestone_info>, linked_quest_type: text)
Link copied to clipboard
@mount("community_quests.remove_rewards_from_milestone") operation remove_rewards_from_milestone(community_quest_id: text, milestone_index: integer)
Link copied to clipboard
@mount("community_quests.set_global_community_quest_parameters") operation set_global_community_quest_parameters(enabled: boolean)
Link copied to clipboard
@mount("community_quests.update_milestone_required_asset_amount") operation update_milestone_required_asset_amount(community_quest_id: text, milestone_index: integer, asset_name: text, asset_type: text, new_amount: integer)